﻿using UnityEngine;
using System.Collections;

public sealed class Controller : MonoBehaviour
{
    static string message = "";

    void Start()
    {
        Screen.SetResolution(640, 480, false);
    }

    void OnGUI()
    {
        GUI.Label(new Rect(0, Screen.height - 20, 500, 20), message);
    }

    public static void SetMessage(string message)
    {
        Controller.message = message;
    }
}
